<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: CSysVar类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="../../da/dd2/class_c_sys_var-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">CSysVar类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>系统变量接口头文件，将服务器的系统变量设置保存在在指定的文件中。 当系统启动的时候这些数据会从文件中调入内存保存，方便各个模块获取与其相应的 变量设置  
 <a href="#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../dc/d7c/sys__var_8hpp_source.html">sys_var.hpp</a>&gt;</code></p>
<div class="dynheader">
类 CSysVar 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../de/da0/class_c_sys_var__inherit__graph.png" border="0" usemap="#a_c_sys_var_inherit__map" alt="Inheritance graph"/></div>
<map name="a_c_sys_var_inherit__map" id="a_c_sys_var_inherit__map">
<area shape="rect" title="系统变量接口头文件，将服务器的系统变量设置保存在在指定的文件中。 当系统启动的时候这些数据会从文件中调入内存保存，方便各个模块获取与其相应的 变量设置" alt="" coords="19,629,152,736"/>
<area shape="rect" href="../../dd/d8c/class_c_conf_file.html" title=" " alt="" coords="5,5,165,581"/>
<area shape="poly" title=" " alt="" coords="88,596,88,630,83,630,83,596"/>
</map>
</div>
<div class="dynheader">
CSysVar 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d64/class_c_sys_var__coll__graph.png" border="0" usemap="#a_c_sys_var_coll__map" alt="Collaboration graph"/></div>
<map name="a_c_sys_var_coll__map" id="a_c_sys_var_coll__map">
<area shape="rect" title="系统变量接口头文件，将服务器的系统变量设置保存在在指定的文件中。 当系统启动的时候这些数据会从文件中调入内存保存，方便各个模块获取与其相应的 变量设置" alt="" coords="19,629,152,736"/>
<area shape="rect" href="../../dd/d8c/class_c_conf_file.html" title=" " alt="" coords="5,5,165,581"/>
<area shape="poly" title=" " alt="" coords="88,596,88,630,83,630,83,596"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a6cc7b21156a47fb8451fc4f375eb21d9" id="r_a6cc7b21156a47fb8451fc4f375eb21d9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6cc7b21156a47fb8451fc4f375eb21d9">CSysVar</a> (const std::string &amp;file)</td></tr>
<tr class="separator:a6cc7b21156a47fb8451fc4f375eb21d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e794e6e370ee9af6cab1bb5669957d4" id="r_a1e794e6e370ee9af6cab1bb5669957d4"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1e794e6e370ee9af6cab1bb5669957d4">~CSysVar</a> ()</td></tr>
<tr class="separator:a1e794e6e370ee9af6cab1bb5669957d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_c_conf_file"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_class_c_conf_file')"><img src="../../closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="../../dd/d8c/class_c_conf_file.html">CConfFile</a></td></tr>
<tr class="memitem:a77c68745bb2cc57400dee382aab63e43 inherit pub_methods_class_c_conf_file" id="r_a77c68745bb2cc57400dee382aab63e43"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a77c68745bb2cc57400dee382aab63e43">CConfFile</a> (const std::string &amp;file)</td></tr>
<tr class="separator:a77c68745bb2cc57400dee382aab63e43 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aece496e6e73eef8fa826f00de16df5a0 inherit pub_methods_class_c_conf_file" id="r_aece496e6e73eef8fa826f00de16df5a0"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#aece496e6e73eef8fa826f00de16df5a0">~CConfFile</a> ()</td></tr>
<tr class="separator:aece496e6e73eef8fa826f00de16df5a0 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f1bc5dcc44a0058e9a07fcb5d200fbc inherit pub_methods_class_c_conf_file" id="r_a9f1bc5dcc44a0058e9a07fcb5d200fbc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a9f1bc5dcc44a0058e9a07fcb5d200fbc">GetValue</a> (const std::string &amp;var_name, std::string &amp;value)</td></tr>
<tr class="memdesc:a9f1bc5dcc44a0058e9a07fcb5d200fbc inherit pub_methods_class_c_conf_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取变量数据  <br /></td></tr>
<tr class="separator:a9f1bc5dcc44a0058e9a07fcb5d200fbc inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae008a0bb17661fe0f521c08ccd996041 inherit pub_methods_class_c_conf_file" id="r_ae008a0bb17661fe0f521c08ccd996041"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#ae008a0bb17661fe0f521c08ccd996041">GetValue</a> (const std::string &amp;var_name, int &amp;value)</td></tr>
<tr class="separator:ae008a0bb17661fe0f521c08ccd996041 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35e01118ce2c6af9543a63870c74edd8 inherit pub_methods_class_c_conf_file" id="r_a35e01118ce2c6af9543a63870c74edd8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a35e01118ce2c6af9543a63870c74edd8">GetValue</a> (const std::string &amp;var_name, long &amp;value)</td></tr>
<tr class="separator:a35e01118ce2c6af9543a63870c74edd8 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6c4b07d3b3d9bb1b065e7339a53bc4b inherit pub_methods_class_c_conf_file" id="r_ac6c4b07d3b3d9bb1b065e7339a53bc4b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#ac6c4b07d3b3d9bb1b065e7339a53bc4b">GetValue</a> (const std::string &amp;var_name, bool &amp;value)</td></tr>
<tr class="separator:ac6c4b07d3b3d9bb1b065e7339a53bc4b inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab67deb245a981b191fea9d358869b5c8 inherit pub_methods_class_c_conf_file" id="r_ab67deb245a981b191fea9d358869b5c8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#ab67deb245a981b191fea9d358869b5c8">GetValue</a> (const std::string &amp;var_name, float &amp;value)</td></tr>
<tr class="separator:ab67deb245a981b191fea9d358869b5c8 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f6fe1bcfc479dbcdd8e5c7e78244935 inherit pub_methods_class_c_conf_file" id="r_a4f6fe1bcfc479dbcdd8e5c7e78244935"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a4f6fe1bcfc479dbcdd8e5c7e78244935">GetValue</a> (const std::string &amp;var_name, double &amp;value)</td></tr>
<tr class="separator:a4f6fe1bcfc479dbcdd8e5c7e78244935 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2fd27d86cbf777473c6e8c3f09d9bf0 inherit pub_methods_class_c_conf_file" id="r_aa2fd27d86cbf777473c6e8c3f09d9bf0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#aa2fd27d86cbf777473c6e8c3f09d9bf0">SetValue</a> (const std::string &amp;var, const std::string &amp;v)</td></tr>
<tr class="memdesc:aa2fd27d86cbf777473c6e8c3f09d9bf0 inherit pub_methods_class_c_conf_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置数据  <br /></td></tr>
<tr class="separator:aa2fd27d86cbf777473c6e8c3f09d9bf0 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7f1148517de34769b19dfd9461ff393 inherit pub_methods_class_c_conf_file" id="r_aa7f1148517de34769b19dfd9461ff393"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#aa7f1148517de34769b19dfd9461ff393">SetValue</a> (const std::string &amp;var, int v)</td></tr>
<tr class="separator:aa7f1148517de34769b19dfd9461ff393 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f31af4744bab97daeb62c77602625a3 inherit pub_methods_class_c_conf_file" id="r_a5f31af4744bab97daeb62c77602625a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a5f31af4744bab97daeb62c77602625a3">SetValue</a> (const std::string &amp;var, long v)</td></tr>
<tr class="separator:a5f31af4744bab97daeb62c77602625a3 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08fb7872a61fbca917823c991882a3a0 inherit pub_methods_class_c_conf_file" id="r_a08fb7872a61fbca917823c991882a3a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a08fb7872a61fbca917823c991882a3a0">SetValue</a> (const std::string &amp;var, bool v)</td></tr>
<tr class="separator:a08fb7872a61fbca917823c991882a3a0 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc1b4e1ba4e6f163c0913bbdfe270ed1 inherit pub_methods_class_c_conf_file" id="r_abc1b4e1ba4e6f163c0913bbdfe270ed1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#abc1b4e1ba4e6f163c0913bbdfe270ed1">SetValue</a> (const std::string &amp;var, float v)</td></tr>
<tr class="separator:abc1b4e1ba4e6f163c0913bbdfe270ed1 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae96e93f148cbe408935572f6eabb83c5 inherit pub_methods_class_c_conf_file" id="r_ae96e93f148cbe408935572f6eabb83c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#ae96e93f148cbe408935572f6eabb83c5">SetValue</a> (const std::string &amp;var, double v)</td></tr>
<tr class="separator:ae96e93f148cbe408935572f6eabb83c5 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa519850a4ea1b890f6e439b1cfc952e inherit pub_methods_class_c_conf_file" id="r_afa519850a4ea1b890f6e439b1cfc952e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#afa519850a4ea1b890f6e439b1cfc952e">AddValue</a> (const std::string &amp;var, const std::string &amp;v)</td></tr>
<tr class="memdesc:afa519850a4ea1b890f6e439b1cfc952e inherit pub_methods_class_c_conf_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加数据  <br /></td></tr>
<tr class="separator:afa519850a4ea1b890f6e439b1cfc952e inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e4a2a5cd1951d699ee4cefd89e46a27 inherit pub_methods_class_c_conf_file" id="r_a2e4a2a5cd1951d699ee4cefd89e46a27"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a2e4a2a5cd1951d699ee4cefd89e46a27">AddValue</a> (const std::string &amp;var, int v)</td></tr>
<tr class="separator:a2e4a2a5cd1951d699ee4cefd89e46a27 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c81b3ccec799f57fc99f7621b86c5dc inherit pub_methods_class_c_conf_file" id="r_a1c81b3ccec799f57fc99f7621b86c5dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a1c81b3ccec799f57fc99f7621b86c5dc">AddValue</a> (const std::string &amp;var, long v)</td></tr>
<tr class="separator:a1c81b3ccec799f57fc99f7621b86c5dc inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a251bdec6741e6d22bb2f510a4f9fe78e inherit pub_methods_class_c_conf_file" id="r_a251bdec6741e6d22bb2f510a4f9fe78e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a251bdec6741e6d22bb2f510a4f9fe78e">AddValue</a> (const std::string &amp;var, bool v)</td></tr>
<tr class="separator:a251bdec6741e6d22bb2f510a4f9fe78e inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b7d09f3345f644532b072efbc3c2407 inherit pub_methods_class_c_conf_file" id="r_a0b7d09f3345f644532b072efbc3c2407"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a0b7d09f3345f644532b072efbc3c2407">AddValue</a> (const std::string &amp;var, float v)</td></tr>
<tr class="separator:a0b7d09f3345f644532b072efbc3c2407 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b83604e33885532e28fa758f4b2a3f8 inherit pub_methods_class_c_conf_file" id="r_a4b83604e33885532e28fa758f4b2a3f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a4b83604e33885532e28fa758f4b2a3f8">AddValue</a> (const std::string &amp;var, double v)</td></tr>
<tr class="separator:a4b83604e33885532e28fa758f4b2a3f8 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a92acce185607ecbba25373ab3bee16 inherit pub_methods_class_c_conf_file" id="r_a3a92acce185607ecbba25373ab3bee16"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a3a92acce185607ecbba25373ab3bee16">Del</a> (const std::string &amp;var, bool del_children=true)</td></tr>
<tr class="memdesc:a3a92acce185607ecbba25373ab3bee16 inherit pub_methods_class_c_conf_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除数据。  <br /></td></tr>
<tr class="separator:a3a92acce185607ecbba25373ab3bee16 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9593d8525cee14f71e237132b9cfb5c5 inherit pub_methods_class_c_conf_file" id="r_a9593d8525cee14f71e237132b9cfb5c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a9593d8525cee14f71e237132b9cfb5c5">Cd</a> (const std::string &amp;path)</td></tr>
<tr class="memdesc:a9593d8525cee14f71e237132b9cfb5c5 inherit pub_methods_class_c_conf_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">更改当前路径  <br /></td></tr>
<tr class="separator:a9593d8525cee14f71e237132b9cfb5c5 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6c7313ecd7213f58cccd9406e6aa8a2 inherit pub_methods_class_c_conf_file" id="r_ab6c7313ecd7213f58cccd9406e6aa8a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758">e_error_conf_file</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#ab6c7313ecd7213f58cccd9406e6aa8a2">Save</a> ()</td></tr>
<tr class="memdesc:ab6c7313ecd7213f58cccd9406e6aa8a2 inherit pub_methods_class_c_conf_file"><td class="mdescLeft">&#160;</td><td class="mdescRight">保存文件  <br /></td></tr>
<tr class="separator:ab6c7313ecd7213f58cccd9406e6aa8a2 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a812b8d051a6389593caf96c59c9e1618 inherit pub_methods_class_c_conf_file" id="r_a812b8d051a6389593caf96c59c9e1618"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758">e_error_conf_file</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a812b8d051a6389593caf96c59c9e1618">Save</a> (const std::string &amp;file)</td></tr>
<tr class="separator:a812b8d051a6389593caf96c59c9e1618 inherit pub_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_types_class_c_conf_file"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_types_class_c_conf_file')"><img src="../../closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="../../dd/d8c/class_c_conf_file.html">CConfFile</a></td></tr>
<tr class="memitem:aa493c79120d2da7433258e580b0c8758 inherit pub_types_class_c_conf_file" id="r_aa493c79120d2da7433258e580b0c8758"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758">err_code</a> { <br />
&#160;&#160;<a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758abb70b528ab557cfbce53eca543e30fa5">CAN_NOT_LOAD_FILE</a> = -2000
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a163d2e5f942a8bd6583c9710d6bbd679">ERR_FILE_NOT_EXIST</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a41fe928b23223a3f61ad4dd1b1cb3fe8">CAN_NOT_FIND_XML_ROOT</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a358c8ddba6e6324d7534b0abe7080440">ERROR_FILE_VERSION</a>
, <br />
&#160;&#160;<a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a241ae2f11099bce11025fc1678e7919c">ERROR_FILE_FORMAT</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a81f5d4ce0a6f68ab16d9e8e3a4d13506">ERROR_FILE_ROOT_NAME</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a39f7b813c5320a4b578f0eee11d7cc46">ERROR_VAR_NO_NAME</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758ad6a8aa305fcc84f3a757d3822ebe0c95">ERROR_VAR_VALUE_TYPE</a>
, <br />
&#160;&#160;<a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a36ad61541e1132ad90a9c3599c75a99d">ERROR_FILE_DIR_FORMAT</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a4d54d2d348e4d4ce93ad3f1b44e9f097">ERROR_VAR_NOT_EXIST</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758aea25d60f60d9c112666709d929680ae7">ERR_GET_ATTR</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758afd9491bc381710230112ad53d1e1bcc6">ERROR_SAVE_FILE</a>
, <br />
&#160;&#160;<a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a3fd8786ea9067258f6614199727f67fa">ERR_PATH_GRRAMA</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a8b3ce858c471fa08b3a86914d8df3de9">ERR_VAR_NAME_EMPTY</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a2c7789c9afe0f9dd7e3e42cc83147a61">ERR_PATH_NOT_EXIST</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758adfde8edf04193fe62520b6b5a131bb3f">ERR_GET_NAME</a>
, <br />
&#160;&#160;<a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a1effc4950c0cd75de6411e3882c78b2e">ERR_DEL_ROOT</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758ad58e6bedc2bdfa31f1e16a7c5506b3e9">ERR_DEL_NODE</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a333a17f9ddb9a218d9b3364f03517a5c">ERR_OBJ_NULL</a>
, <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758a103f8736cf4ccfd4b279a2270817201f">OK</a> = 0
<br />
 }</td></tr>
<tr class="separator:aa493c79120d2da7433258e580b0c8758 inherit pub_types_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59930a5549106938084e54be868a59bd inherit pub_types_class_c_conf_file" id="r_a59930a5549106938084e54be868a59bd"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758">err_code</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#a59930a5549106938084e54be868a59bd">e_error_conf_file</a></td></tr>
<tr class="separator:a59930a5549106938084e54be868a59bd inherit pub_types_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9c90b30f27c04c96a20d2695efe339a inherit pub_types_class_c_conf_file" id="r_ab9c90b30f27c04c96a20d2695efe339a"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758">err_code</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#ab9c90b30f27c04c96a20d2695efe339a">emErrCode</a></td></tr>
<tr class="separator:ab9c90b30f27c04c96a20d2695efe339a inherit pub_types_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_c_conf_file"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_static_methods_class_c_conf_file')"><img src="../../closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="../../dd/d8c/class_c_conf_file.html">CConfFile</a></td></tr>
<tr class="memitem:aaa509fc847f8c74086983980237dea90 inherit pub_static_methods_class_c_conf_file" id="r_aaa509fc847f8c74086983980237dea90"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d8c/class_c_conf_file.html#aaa509fc847f8c74086983980237dea90">errMsg</a> (<a class="el" href="../../dd/d8c/class_c_conf_file.html#aa493c79120d2da7433258e580b0c8758">emErrCode</a> e)</td></tr>
<tr class="separator:aaa509fc847f8c74086983980237dea90 inherit pub_static_methods_class_c_conf_file"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>系统变量接口头文件，将服务器的系统变量设置保存在在指定的文件中。 当系统启动的时候这些数据会从文件中调入内存保存，方便各个模块获取与其相应的 变量设置 </p>
<dl class="section version"><dt>版本</dt><dd>0.1 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2017-2-11 </dd></dl>
<dl class="section author"><dt>作者</dt><dd>宋炜 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../dc/d7c/sys__var_8hpp_source.html">sys_var.hpp</a> 第 <a class="el" href="../../dc/d7c/sys__var_8hpp_source.html#l00019">19</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a6cc7b21156a47fb8451fc4f375eb21d9" name="a6cc7b21156a47fb8451fc4f375eb21d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cc7b21156a47fb8451fc4f375eb21d9">&#9670;&#160;</a></span>CSysVar()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CSysVar::CSysVar </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>file</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../dc/d64/sys__var_8cpp_source.html">sys_var.cpp</a> 第 <a class="el" href="../../dc/d64/sys__var_8cpp_source.html#l00004">4</a> 行定义.</p>

</div>
</div>
<a id="a1e794e6e370ee9af6cab1bb5669957d4" name="a1e794e6e370ee9af6cab1bb5669957d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e794e6e370ee9af6cab1bb5669957d4">&#9670;&#160;</a></span>~CSysVar()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CSysVar::~CSysVar </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../dc/d64/sys__var_8cpp_source.html">sys_var.cpp</a> 第 <a class="el" href="../../dc/d64/sys__var_8cpp_source.html#l00006">6</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/<a class="el" href="../../dc/d7c/sys__var_8hpp_source.html">sys_var.hpp</a></li>
<li>src/<a class="el" href="../../dc/d64/sys__var_8cpp_source.html">sys_var.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
